/* 
从上至下

最后是：
<!-- 右侧浮动帮助栏 -->
顶部浮动
 */

/* <!-- 中间 菜单+ 轮播+个人信息  --> */
main{
    position: relative;
}
.grid{
    padding:10px 0 ;
    height: 480px;
}

/* .gridLeft-------- */
.gridLeft{
    width: 190px;
    height: 100%;
    background-color: #fff;
}
.gridLeft ul{
    /* padding: 20px 0; */
    padding: 15px 0;
}
.gridLeft ul li{
    padding-left: 12px;
    font-size: 14px;
    color: #333;
    line-height: 25px;
}
.gridLeft ul li:hover{background-color: #d9d9d9;}
.gridLeft ul a{
    font-size: 14px;
    color: #333;
    /* margin: 0 3px; */
}
.gridLeft ul a:hover{
    color: #c81623;
}

/* .gridCenter-------- */
.gridCenter{
    width: 790px;
    height: 100%;
    margin-left: 10px;
}
.gridCenter .big{
    width: 600px;
    height: 100%;
    margin-right: 10px;
}
.gridCenter .small{
    width: 180px;
    height: 100%;
}


/* .gridRight-------- */
.gridRight{
    width: 190px;
    height: 100%;
    background-color: #fff;
    font-size: 12px;
}

.gridRight .login{
    width: 100%;
    height: 95px;
    padding-top: 15px;
    position: relative;
}
.loginImgInfo{
    padding: 0 20px;
    height: 50px;
    text-align: left;
    padding-left: 80px;
    line-height: 20px;
    /* 多于字体的隐藏显示 */
    /* 强制一行显示 */
    white-space:nowrap;
    /* 溢出隐藏 */
    overflow:hidden;
    /* 超出部分 显示 省略号 */
    text-overflow:ellipsis;
    color: #666;
    position: relative;
}
.log , .reg{
    color: #111;
}
.loginImgInfo .imgInfo{
    position: absolute;
    top: 0;
    left: 20px;
    width: 40px;
    height: 40px;
    border: 2px solid #eeeeee;
    border-radius: 100%;
    overflow: hidden;
    box-shadow: 0 2px 8px rgb(0 0 0 / 5%);
}
.loginImgInfo .imgInfo img{
    width: 100%;
}
.loginBtn{
    padding: 0 15px;
}
.gridRight .login::after,.news::after{
    position: absolute;
    height: 1px;
    bottom: 0;
    left: 15px;
    right: 15px;
    background: linear-gradient(270deg,white,#eeeeee,#eeeeee,white);
    content: " ";
}
.gridRight .loginBtn{
    padding: 10px 20px 0 20px;
}
.loginBtn .newUser,.vip{
    display: inline-block;
    width: 70px;
    height: 25px;
    line-height: 25px;
    font-size: 12px;
    text-align: center;
    color: #fff;
    border-radius: 13px;
    background: #e1251b;
}
.loginBtn .vip{
    background: #363634;
    color: #e5d790;
}
.loginBtn > a:hover{
    background-color: #c81623;
    color: #fff;
}


.gridRight .news{
    height: 110px;
    position: relative;
    padding: 10px 15px;
    /* background-color: aquamarine; */
}
.gridRight .news .newsTilte{
    position: relative;
    margin-bottom: 8px;
    /* 190px */
    width: 100%;
    height: 20px;
}
.gridRight .news h5{
    position: absolute;
    top: 0;
    left: 0;
    font-size: 14px;
}
.gridRight .news .moreNews{
    position: absolute;
    top: 0;
    right: 0;
}
.gridRight .news .newsContent{
    height: 88px;
}
.gridRight .news .newsContent .contentItem{
    height: 16px;
    line-height: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #999;
    margin-bottom: 6px;
}
.gridRight .news .newsContent .newTag{ 
    display: inline-block;
    position: relative;
    font-size: 12px;
    height: 16px;
    width: 35px;
    line-height: 16px;
    text-align: center;
    vertical-align: 0;
    color: #e1251b;
    background-color: rgba(225,37,27,.08);
    margin-right: 6px;
}

.gridRight .extends{
    height: 230px;
    padding: 5px 0.5px;
    /* border: 1px solid black; */
    /* background-color: purple; */
}
.gridRight .extends ul li{
    text-align: center;
    padding-top: 5px;
    width: 63px;
    float: left;
}
.gridRight .extends ul li .extendIcon{
    display: inline-block;
    width: 28px;
    height: 28px;
}
.gridRight .extends ul li .extendIcon img{
    display: block;
    width: 100%;
    height: 100%;
}
.gridRight .extends ul li .extendIcon img.hoverIcon{
    display: none;
}
.gridRight .extends ul li .extendIcon img.showIcon:hover{
    display: none;
}
.gridRight .extends ul li .extendIcon img.showIcon:hover +  .hoverIcon{
    display: block;
}
.gridRight .extends ul li .iconTip{
    padding-top: 5px;
    display: inline-block;
    width: 100%;
}


/* <!-- 背景AD --> */
.gridBgAdBox{
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: -1;
}
.gridBgAd{
    position: absolute;
    width: 100%;
    height: 710px;
    left: 0px;
    top: 0px;
    margin: 0px;
    background: #f4f4f4;
}
.gridBgAd .adPhoto{
    display: block;
    height: 710px;
    background: url('../imgs/ad/9855e2bde50c683b.png.webp') 50% 0 no-repeat;
}


.hourShopAd{
    margin-top: 30px;
    /* 外边距塌陷--写20px以下 不出效果 */
    margin-bottom: 30px;
    height: 260px;
    background-color: #fff;
}
.countDown{
    width: 190px;
    height: 100%;
    background:url('../imgs/icon/4a15d8883775742e3efbb850ae14def7.png') ;
    color: #fff;
}
.countDown h5{
    width: 100%;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    margin-top: 31px;
}
.countDown p{
    margin-top: 90px;
    font-size: 14px;
    text-align: center;
}
.countDown p .timeCount{
    font-size: 18px;
    font-weight: bold;
}
.countDown div{
    width: 170px;
    height: 30px;
    font-size: 20px;
    font-weight: 700;
    margin: 20px auto;
    text-align: center;
    line-height: 30px;
}
.hourCount , .minuteCount ,.secondCount{
    display: inline-block;
    width: 30px;
    height: 30px;    
    background-color: #333;
    text-align: center;
    vertical-align: middle;
}
.hourCount , .minuteCount{
    margin-right: 20px;
    position: relative;
}
.hourCount::after, .minuteCount::after{
    content: ":";
    display: inline-block;
    position: absolute;
    top: 0px;
    right: -20px;    
    font-weight: bolder;
    font-size: 18px;
    width: 20px;
    height: 100%;
}

.swiperGoodList{
    /* 轮播样式 写在 swiper.css里 */
    width: 800px;
    height: 100%;
    font-size: 12px;
    font-weight: 400;
}

.swiperBrandList{
    /* 轮播样式 写在 swiper.css里 */
    width: 200px;
    height: 100%;
}

/* <!-- 618 大促 活动楼层  --> */

.activity618{
    /* width: 100%; */
}
.activity{
    margin: 20px auto;
    /* background-color: #333; */
    width: 1270px;
    height: 555px;
    background: url('../imgs/icon/cc916f6ca9b2e064.jpg_cc_1270x555.jpg') no-repeat;
    /* 父子 元素 的 margin （上下） 塌陷 */
    overflow:hidden;
}

.activityGoods{
    margin-top: 108px;
    width: 1202.5px;
    height: 448px;
    margin-left: auto;
    margin-right: auto;
}
.activityItem{
    width: 1200px;
    height: 100%;
    margin: 0 5.25px;
}
.activityItem a{
    display: inline-block;
    width: 190px;
    height: 210px;
    margin-right: 10px;
    margin-bottom: 10px;
    background-color: #fff;
    border-radius: 5px;
    float: left;
    overflow: hidden;
}
.activityItem .activityItemImg{
    margin-left: 30px;
    margin-left: 30px;
    margin-top: 7px;
    width: 130px;
    height: 130px;
}
.activityItem .activityItemImg:hover{
    opacity: 0.8;
}
.activityItem .activityItemInfo{
    background: url('../imgs/icon/ce484c2ce3c9c8da.png!cc_190x210.png');
    background-position: 0 -140px ;
    margin-top: 3px;
    width: 190px;
    height: 70px;
    text-align: center;
    position: relative;
}
.activityItem .activityItemInfo .activityAd{
    width: 190px;
    height: 32px;
}
.activityItem .activityItemInfo span{
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translate(-50%);
    color: #fff;
    z-index: 999;
    font-size:17px;
    font-weight: bolder;
}
.activityItem .activityItemInfo p{
    margin-top: 10px;
    font-size: 16px;
    font-weight: bolder;
    color: #de452b;
    line-height: 16px;
}


/* <!-- 为你推荐-- --> */
.recommendBigBox{}
.recommendBox{
    /* 版心有宽度，写100% 会填满网页宽度 */
    /* width: 100%; */
    /* height: 5190px; */
}
.recommendBox .recommendTitle{
    position: relative;
    width: 150px;
    height: 45px;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    line-height: 45px;
    padding: 0 30px;
    /* 上 左右 下 */
    margin: 0 auto 20px;
    overflow: hidden;
    color: #333;
}
.recommendTitle::before,.recommendTitle::after{
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -10px;
    background-image: url('../imgs/icon/11.png');
    width: 25px;
    height: 20px;
    
}
.recommendTitle::before{
    left: 0%;
}
.recommendTitle::after{
    background-position: 25px 0;
    right: 0;    
}
.activeRouterTitle{
    height: 60px;
    width: 1190px;
    background-color: #fff;
    
}
.activeRouterTitle ul{
    margin: 0 auto;
    width: fit-content;
}
.activeRouterTitle ul li{
    display: inline-block;
    float: left;
    position: relative;
    width: 180px;
    height: 60px;
    text-align: center;
    cursor: pointer;
    background-color: #fff;
}
.activeRouterTitle ul li a{
    margin-top: 7px;
    display: block;
}
.activeRouterTitle ul li a h5{
    width: 70px;
    height: 27px;
    line-height: 27px;
    display: inline-block;
    border-radius: 50px;
    padding: 0 5px;
    font-size: 16px;
    font-weight: 700;
}
.activeRouterTitle ul li a h5.activeRecommend{
    background: #e1251b;
    color: #fff;
}
.activeRouterTitle ul li a h5:hover{
    background: #e1251b;
    color: #fff;
}
.recommendTitleGap {
    position: absolute;
    right: 0;
    top: 0;
    height: 40px;
    margin: 10px 0;
    width: 1px;
    background: #dfdfdf;
    background: linear-gradient(180deg,white,#dfdfdf 51%,white);
}

.commodityBox{
    margin: 10px auto;
    width: 100%;
    overflow: hidden;
}
.commodityBox ul{
    margin:0 -5px;
}
.commodityBox .commodityItem{
    position: relative;
    float: left;
    width: 230px;
    height: 322px;
    margin: 0 5px 10px;
    background-color: #fff;
}
.commodityItem .commodityImage{
    width: 150px;
    height: 150px;
    margin: 30px auto 40px;
    background-color: #111;
}
.commodityItem:hover .commodityImage{
    opacity: 0.8;
}
.commodityItem .commodityInfo{
    padding: 0 20px;
    height: 85px;
    font-size: 14px;
    line-height: 24px;
}
.commodityItem .commodityInfo .commodityInfoDetail{
    height: 48px;
    font-size: 14px;
    line-height: 24px;
    text-align: left;
    color: #666;

    transition: color .2s ease;
    
    /* ⭐word-break: break-all; 在合适的地方换行 */
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
/* 自营标识 */
.commodityItem .commodityInfo .commodityInfoDetail .selfSign{
    background-color: #e1251b;
    border-radius: 2px;
    color: #fff;
    padding: 0 5px;
    margin-right: 4px;
    line-height: 16px;
    height: 16px;
    font-size: 12px;
    display: inline-block;
}
.commodityItem .commodityPrice{
    margin-top:10px ;
    font-size: 16px;
    line-height: 18px;
    height: 18px;
    color: #e1251b;
    font-weight: 700;
}
.moneySign, .decimal{
    display: inline-block;
    font-size: 12px;
}
.moneySign{
    margin-right: -5px;
} 
.decimal{
    font-size: 12px;
}

/* <!-- close btn 默认不显示 -->
<!-- 找相似 默认不显示 --> */
.commodityItem .operation{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}
li.commodityItem:hover .operation {
    display: block;
}

.commodityClose, .commodityCompare{
    position: absolute;
}
.commodityClose{
    top: 0px;
    right: 5px;
    width: 10px;
    height: 10px;
    opacity: 0.6;
}
.commodityClose img{
    width: 100%;
}
.commodityClose:hover{
    opacity: 0.8;
}
.commodityCompare{
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    padding-top: 8px;
    width: 100%;
    height: 66px;
    text-align: center;
    background-color: #fff;
    background: linear-gradient(180deg,rgba(255,255,255,.8) 0,white 35%,white);
}
.commodityCompareBtn{
    height: 28px;
    width: 120px;
    display: inline-block;
    font-size: 12px;
    color: #ffffff; 
    background-color: #353131;
    border-radius: 15px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
}
.commodityCompare i{
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 5px;
    font-size: 14px;
} 
.commodityCompareBtn:hover{
    background-color: #c81623;
}

/* 商品广告 */
/* 商品广告 */
.commodityAd{
    background: url('../imgs/icon/sprite-2.png');
    background-position: 0 -322px ;
    user-select: none;
}
.commodityAd .commodityAdImg{
    /* position: relative; */
    margin: 30px 40px 10px;
    width: 150px;
    height: 150px;
}
.commodityAd .commodityAdImg img{
    width: 100%;
}
.commodityAd .commodityAdImg img:hover{
    opacity: 0.8;
}
.commodityAd .commodityAdInfo{
    box-sizing: border-box;
    width: 100%;
    height: 80px;
    font-size: 12px;
    padding: 0 20px;
}
.commodityAd .commodityAdInfo .commodityAdSign{
    color: #7b20da;
    margin-bottom: 5px;
}
.commodityAdSign span{
    display: inline-block;
    margin-right: 5px;
    padding: 1px 3px;
}
.commodityAdSign span:nth-child(1){
    border: 1px solid #7b20da;
    font-weight: 700;
}
.commodityAdSign span:nth-child(2){
    background: #efe0ff;
    width: 89px;
    height: 20px;
    line-height: 20px;
}
.commodityAdInfo p{
    font-size: 14px;
    font-weight: bolder;
}
.commodityAdInfo .spiteImg{
    margin-top: 30px;
    background: url('../imgs/icon/sprite-3.png');
    width: 81px;
    height: 24px;
    background-position: 0 -48px;
    color: #fff;
    font-size: 12px;
    font-weight: bolder;
    line-height: 24px;
    padding-left: 25px;
}

/* 商品热词 */
/* 商品热词 */
/* 商品热词 */
.hotCommodityAd{
    background-position: -460px 0;
}
.hotCommodityTitle{
    margin: 20px auto 37px;
    width: 110px;
    height: 34px;
    line-height: 34px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    background-color: #f2272b;
    border-radius: 15px;
    text-align: center;
    padding: 2px 5px;
}
.hotCommodityAdInfo{
    margin-left: 10px;
}
.hotCommodityAdInfo span{
    display: inline-block;
    float: left;
    border: 1px solid #ffe0e8;
    border-radius: 5px;
    margin: 0 0 10px 10px;
    width: 88px;
    height: 36px;
    line-height: 36px;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
}
.hotCommodityAdInfo span:hover{
    background-color: #c81623;
}
.hotCommodityAdInfo span:hover a{
    color:#fff ;
} 


/* 待加载 */
.loading{
    text-align: center;
    overflow: hidden;
}
.loading .circle{
    margin: 10px auto ;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius:100% ;
}
.loading .circle2{
    width: 30px;
    height: 30px;
    background-color: #666;
}
.loading .circle3{
    width: 20px;
    height: 20px;
    background-color: #999;
}




/* <!-- 右侧浮动帮助栏 --> */
.rightHelperBox{
    width: 100%;
    position: absolute;
    top: 525px;
    /* bottom: 100px; */
    transition: all 0.5s ease-in;
    
}
.rightHelperBox .helperProject{
    box-sizing: border-box;
    padding-left:1290px ;
    margin: 0 auto;
    width: 1350px;
    top: -75px;
    right: -100px;
    text-align: right;
}
.rightHelperBox .helperProject ul{
   text-align: right;
   background-color: #fff;
}
.helperProject .helperItem{
    box-sizing: border-box;
    overflow: hidden;
    padding: 10px;
    /* width: 58px; */
    height: 58px;
}
.helperProject .helperItem:hover{
    background-color: #c81623;
}
.helperProject .helperItem a:hover{
    color: #fff;
}
.helperProject .helperItem a{
    display: block;
    font-size: 14px;
    width: 38px;
    height: 38px;
    line-height: 19px;
    text-align: center;
}

/* 右侧浮动帮助栏 -- 618广告 */
.helperProject .adImg618{
    padding: 0;
}
.helperProject .adImg618 a{
    width: 100%;
}
.helperProject .adImg618 img{
    width: 100%;
}



/* 顶部 弹出  */
/* 使用 body 作为 外盒子 */
.topNav{
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 999;
    transition: all 0.5s ease;
    border-bottom: 2px solid #f10214;
}
.topNavBg{
    height: 50px;
    box-sizing: border-box;
    padding: 5px 0;
}
.topNavBg > div{
    float: left;
}
.topNavLogo{
    margin: auto 0;
    width: 125px;
    height: 40px;
}
.topNavLogo a{
    display: inline-block;
    width: 100%;
    height: 100%;
    background: url('../imgs/icon/sprite.png') no-repeat;
    background-position: 0 -120px;
    
}
.topNavSearchBox{
    position: relative;
    margin: 4px 0 0 150px;
    width: 546px;
    height: 32px;
    border: 2px solid #e2231a;
    background: #fff;
}
.topNavSearchBox input{
    padding: 3px 44px 3px 17px;
    width: 425px;
    height: 26px;
    border: none;
    outline: none;
    line-height: 26px;
    font-size: 12px;
    box-sizing: content-box;
    vertical-align: middle;
    float: left;
}
.topNavSearchBox .topNavSearchBoxInputCamera{
    color:#9f9f9f ;
    position: absolute;
    top: 8px;
    left: 442px;
}
.topNavSearchBox .topNavSearchBoxInputCamera:hover{
    color: #c81623;
}
.topNavSearchBox .topNavSearchBoxInputCamera i{
    display: block;
    width: 20px;
    height: 20px;
    line-height: 14px;
    font-size: 20px;
    text-align: center;
    font-family: iconfont,sans-serif;
    color: #9f9f9f;
    cursor: pointer;
    font-family: "icomoon";
    font-style: normal;
}
.topNavSearchBox button{
    width: 60px;
    vertical-align: middle;
    height: 100%;
    background-color: #e1251b;
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}
.topNavSearchBox button:hover{
    background-color: #c81623;
}


.topNavShopcar{
    margin: 4px 0 0 100px;
    padding: 0 15px;
    width: 100px;
    height: 34px;
    line-height: 34px;
    border: 1px solid #e3e4e5;
    color: #e1251b;
    font-size: 12px;

    position: relative;
}
.topNavShopcar:hover{
    border: 1px solid #e1251b;
}
.topNavShopcarIcon{
    position: relative;
    margin-right: 10px;
    font-size: 14px;
}
.topNavShopcarIcon span{
    display: block;
    background-color: #c81623;
    width: 10px;
    height: 15px;
    text-align: center;
    line-height: 15px;
    color: #fff;
    font-size: 12px;
    border-radius: 5px;

    position: absolute;
    top: -5px;
    right: -5px;
} 
.topNavShopcar:hover .topNavShopcarHover{
    display: block;
}
.topNavShopcarHover{
    display: none;

    position: absolute;

    right: 0;
    width: 300px;
    height: 80px;
    text-align: center;
    line-height: 80px;
    background-color: #fff;
    border: 1px solid #e1251b;
}